package com.hx.vending.dao;

import com.hx.vending.bean.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/1/9.
 */
@Repository
public interface AdminMapper {

    Admin selectByPrimary(Admin admin);

    int insertSelective(Admin admin);

    List<Admin> selectAdmin(Map<String,Object> map);

    int updateByPrimaryKey(Admin admin);

    int deleteByAdminId(@Param("integerList") List<Integer> integerList);
}
